package com.itheima.proxy.static_proxy;

/**
 * @Author 王加鑫
 * @Date 2021/08/06 18:49
 * @Since JDK 1.8
 * 租客类
 */
public class Tenant {

    //静态代理
    public static void main(String[] args) {
        HouseMan houseMan = new HouseMan();
        Medium medium = new Medium();
        medium.setHouseMan(houseMan);
        medium.chuZu();
    }
}
